<template>
    <h1>{{ category }}</h1>
</template>
<script>
export default
    {
    name:'category',
    data() {
        return {
            category:"CATEGORY"
        }
        },
      activated() {
        console.log("category组件被触发");
        },
    deactivated() {
        console.log("category组件被停用");
    },
}
</script>
<style scoped>
</style>